package com.baizhi.springcloud.dao;

import com.baizhi.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface DeptDAO {
    boolean addDept(Dept dept);

    Dept queryById(Integer id);

    List<Dept> queryAll();
}
